/*
 * Copyright (C) 2004-2006  Autodesk, Inc.
 * 
 * This library is free software; you can redistribute it and/or
 * modify it under the terms of version 2.1 of the GNU Lesser
 * General Public License as published by the Free Software Foundation.
 * 
 * This library is distributed in the hope that it will be useful,
 * but WITHOUT ANY WARRANTY; without even the implied warranty of
 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
 * Lesser General Public License for more details.
 * 
 * You should have received a copy of the GNU Lesser General Public
 * License along with this library; if not, write to the Free Software
 * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA  02110-1301  USA
 *
 */

#ifndef WCSTESTDESCRIBESCHEMA_H
#define WCSTESTDESCRIBESCHEMA_H

#ifdef WIN32
#pragma once
#endif

#include "WcsTests.h"

class WcsTestDescribeSchema : public WcsTests
{
    CPPUNIT_TEST_SUITE (WcsTestDescribeSchema);

    CPPUNIT_TEST (testServer1);
    CPPUNIT_TEST (testSchemaMapping);

    CPPUNIT_TEST_SUITE_END ();

public:
    WcsTestDescribeSchema(void);
    ~WcsTestDescribeSchema(void);

    void _setUp () {}
    void _tearDown () {}
    void testServer1 ();
    void testSchemaMapping ();

private:
    // Helper to return the string presentation of the property type
    static FdoString* PropertyTypeToString (FdoPropertyType propType);
    // Helper to test and print out schema
    void TestServer (FdoString* featureServer, FdoInt32 numClasses = 0);
    // Helper to test interitance
    void TestInheritance (FdoString* featureServer);
};


#endif//WCSTESTDESCRIBESCHEMA_H
